/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Entities;

/**
 *
 * @author Nguyen
 */
public class SACH {

    public SACH(int masach, String tensach, int tacgia, int theloai, String hinhanh, int dongiaban, int soluong) {
        this.masach = masach;
        this.tensach = tensach;
        this.tacgia = tacgia;
        this.theloai = theloai;
        this.hinhanh = hinhanh;
        this.dongiaban = dongiaban;
        this.soluong = soluong;
    }
    private int masach;
    private String tensach;
    private int tacgia;
    private int theloai;
    private String hinhanh;
    private int dongiaban;
    private int soluong;

    public int getMasach() {
        return masach;
    }

    public void setMasach(int masach) {
        this.masach = masach;
    }

    public String getTensach() {
        return tensach;
    }

    public void setTensach(String tensach) {
        this.tensach = tensach;
    }

    public int getTacgia() {
        return tacgia;
    }

    public void setTacgia(int tacgia) {
        this.tacgia = tacgia;
    }

    public int getTheloai() {
        return theloai;
    }

    public void setTheloai(int theloai) {
        this.theloai = theloai;
    }

    public String getHinhanh() {
        return hinhanh;
    }

    public void setHinhanh(String hinhanh) {
        this.hinhanh = hinhanh;
    }

    public int getDongiaban() {
        return dongiaban;
    }

    public void setDongiaban(int dongiaban) {
        this.dongiaban = dongiaban;
    }

    public int getSoluong() {
        return soluong;
    }

    public void setSoluong(int soluong) {
        this.soluong = soluong;
    }
}
